package com.achievement.service.author;

import com.achievement.domain.dto.author.StandardAuthorDTO;
import com.achievement.domain.entity.author.StandardAuthorEntity;
import com.achievement.domain.vo.author.StandardAuthorVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IStandardAuthorService extends IService<StandardAuthorEntity>
{
    List<StandardAuthorEntity> getListByConditions(StandardAuthorDTO dto);
    StandardAuthorVO getInfoById(String id);

    boolean addOrUpdate(List<StandardAuthorDTO> list,String standardId);

    boolean add(StandardAuthorDTO dto);
    boolean addBatch(List<StandardAuthorDTO> list,String standardId);

    boolean update(StandardAuthorDTO dto);

    boolean batchRemove(List<String> ids);

    List<StandardAuthorVO> getListByStandardId(String standardId);

    boolean batchRemoveByStandardIds(List<String> standardIds);

}
